package cn.lg.soar.database.datascope;

import java.util.List;

/**
 * @author luguoxiang 469599794@qq.com
 * @Date: 2024/2/23 14:04
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
public interface IDataPermissionService {

    Long mapId(String resource);

    List<List<Filter>> dataScopes(Long resourceId);

    default List<List<Filter>> dataScopes() {
        return dataScopes(null);
    }

}
